package com.xliang.spider.version04.quartz;

import com.xliang.spider.version04.quartz.base.AbstractJobService;
import com.xliang.spider.version04.service.SpiderVideoService;

import javax.annotation.Resource;

/**
 * ${DESCRIPTION}
 *
 * @author xiongl
 * @create 2016-06-22 15:07
 */
public class ScanVideoJob extends AbstractJobService
{
    @Resource
    private SpiderVideoService spiderVideoService;
    
    @Override
    public String getDescription()
    {
        return "定时任务：扫描视频";
    }
    
    @Override
    public void doExecute()
        throws Exception
    {
        spiderVideoService.scanVideo();
    }
}
